package org.sgx.joptest.client;

import org.sgx.gwteditors.client.impl1.EditorFramework1;
import org.sgx.joptest.client.model.User;
import org.sgx.joptest.client.ui.MainLayout;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.shared.GWT;
import com.google.gwt.user.client.ui.RootPanel;

public class SgxJopTestEntryPoint implements EntryPoint {

	@Override
	public void onModuleLoad() {
		test1();
	}

	private void test1() {
		new EditorFramework1().start(); 
		User user = GWT.create(User.class); 
		System.out.println(user);
		RootPanel.get().add(MainLayout.getInstance()); 
	}

}
